<template>
	<div class="video-monitor">
		<div>
			<label>{{$t('route.base')}}</label>
			<div></div>
			<button><img /><label>{{$t('route.Service_Guide')}}</label></button>
		</div>

		<div>
			<iframe :src="videoUrl" frameborder="0"></iframe>
		</div>
	</div>
</template>

<script>
	export default {
		data() {
			return {
				videoUrl: 'https://open.ys7.com/ezopen/h5/iframe?url=ezopen://open.ys7.com/BA8328425/1.hd.live&autoplay=1&accessToken=at.0bh5rj8x50q6c3o69y4glseu4lu0n53u-99t47or5t6-1trpy1w-a8hooa4kw'
			};
		},
		methods: {},
		created() {

		}
	};
</script>
<style lang="scss" scoped>
	.video-monitor {
		color: #444444;
		font-size: 18px;
		padding-right: 20px;
		height: calc(100vh - 100px);
		// overflow: scroll;
		scrollbar-width: none;
		/* firefox */
		-ms-overflow-style: none;
		/* IE 10+ */
		overflow-x: hidden;
		overflow-y: auto;

		>div {
			display: flex;
			flex-direction: row;
			margin-top: 20px;
			background-color: #ffffff;
			padding: 20px;
			border-radius: 5px;
		}

		>div:nth-of-type(1) {
			>label:nth-of-type(1) {
				font-weight: 600;
			}

			>div:nth-of-type(1) {
				width: 1px;
				background-color: #cccccc;
				height: 15px;
				margin: 0px 20px;
			}

			>button:nth-of-type(1) {
				background-image: url(../../assets/img/customer-1.png);
				background-repeat: no-repeat;
				background-size: 100% 100%;
				padding: 5px 10px;
				border: 0px;
				display: flex;
				color: #ffffff;
				flex-direction: row;
				align-items: center;
				font-weight: 800;

				>img {
					margin-right: 7px;
					width: 15px;
					height: 15px;
					content: url(../../assets/img/customer-2.png);
				}

			}
		}

		>div:nth-of-type(2) {
			>iframe {
				height: 700px;
				width: 100%;
			}

		}




	}
</style>
